

<%-- 
    Document   : index
    Created on : 11/06/2013, 12:22:01 PM
    Author     : Angel
--%>
<%@page import="Bean.Usuario"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">


<!DOCTYPE html>
<%
    String context = request.getContextPath();
    HttpSession sesion = request.getSession();
    Usuario login = new Usuario();
    if (sesion.getAttribute("login") == null) {
        response.sendRedirect(context + "/ServletLogin");
    } else {
        login = (Usuario) sesion.getAttribute("login");
    }
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
    <head>
        <!--  Created by Artisteer v3.0.0.32906  Base template (without user's data) checked by http://validator.w3.org : "This page is valid XHTML 1.0 Transitional"  -->
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <%=request.getContextPath()%>
        <title>Sistema de Control de Reservaciones CCS</title>
        <link rel="stylesheet" href="<%=request.getContextPath()%>/css/style.css" type="text/css" media="screen" />
        <link href="<%=request.getContextPath()%>/menu_assets/styles.css" rel="stylesheet" type="text/css">

        <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/js/script.js"></script>
    </head>
    <body >



        <div id="art-page-background-glare">
            <div id="art-page-background-glare-image">
                <div id="art-main">
                    <div class="art-sheet">

                        <div class="art-sheet-body">
                            <div class="art-header">
                                <div class="art-header-center">
                                    <div class="art-header-png"></div>
                                    <div class="art-header-jpeg"></div>
                                </div>
                                <div class="art-logo">
                                    <h1 id="name-text" class="art-logo-name"><a href="../index.html"></a></h1>
                                    <h2 id="slogan-text" class="art-logo-text"></h2>
                                </div>
                            </div>
                            <div class="art-nav">
                                <div class="l"></div>
                                <div class="r"></div>
                                <ul class="art-menu">
                                </ul>
                            </div>
                            <div class="art-content-layout">
                                <div class="art-content-layout-row">
                                    <div class="art-layout-cell art-sidebar1">
                                        <div id='cssmenu'>
                                            <ul>
                                                <li class='active'><a href='#'><span>Usuarios</span></a></li>
                                                <li><a href='#'><span>Equipo</span></a></li>
                                                <li><a href='#'><span>Aulas</span></a></li>
                                                <li><a href='#'><span>Reservaciones</span></a></li>
                                                <li><a href='#'><span>Profesores</span></a></li>
                                                <li><a href='#'><span>seis</span></a></li>
                                            </ul>
                                        </div>



                                    </div>
                                    <div class="art-layout-cell art-content">
                                        <div class="art-post">
                                            <div class="art-post-body">
                                                <span class="art-button-wrapper" style="margin-left:550px; margin-top:10px;">
                                                    <span class="art-button-l"> </span><span class="art-button-r"> </span>
                                                    <a  class="art-button"  href="<%=context%>/ServletLogin?accion=cerrarSesion">Cerrar Sesión</a>
                                                </span>

                                                <div class="art-post-inner art-article">
                                                    <div class="art-postmetadataheader">

                                                        <h2 class="art-postheader">Agregar profesor</h2>
                                                    </div>
                                                    <div class="art-postcontent">
                                                        <table>
                                                            <form action="<%=context%>/ControladorProfesor?accion=Insertar" method="post">
                                                                <tr>
                                                                    <td>
                                                                        Nombre
                                                                    </td>
                                                                    <td>
                                                                        <input name="nombre" type="text"/>
                                                                    </td>
                                                                </tr>    
                                                                <tr>
                                                                    <td>
                                                                        apellido paterno
                                                                    </td>
                                                                    <td>
                                                                        <input name="apaterno" type="text"/>
                                                                    </td>
                                                                </tr> 
                                                                <tr>
                                                                    <td>
                                                                        apellido materno
                                                                    </td>
                                                                    <td>
                                                                        <input name="amaterno" type="text"/>
                                                                    </td>
                                                                </tr> 
                                                                <tr>
                                                                    <td>
                                                                        direccion
                                                                    </td>
                                                                    <td>
                                                                        <input name="direccion" type="text"/>
                                                                    </td>
                                                                </tr> 
                                                                <tr>
                                                                    <td>
                                                                        telefono
                                                                    </td>
                                                                    <td>
                                                                        <input name="telefono" type="text"/>
                                                                    </td>
                                                                </tr> 
                                                                <tr>
                                                                    <td>
                                                                        celular
                                                                    </td>
                                                                    <td>
                                                                        <input name="celular" type="text"/>
                                                                    </td>
                                                                </tr> 
                                                                <tr>
                                                                    <td>
                                                                        correo
                                                                    </td>
                                                                    <td>
                                                                        <input name="correo" type="text"/>
                                                                    </td>
                                                                </tr> 
                                                                <table>
                                                                <input type="submit" value="Insertar" name="accion" />
                                                                </table>
                                                            </form>
                                                        </table>

                                                    </div>
                                                    <div class="cleared"></div>
                                                </div>
                                                <div class="cleared"></div>
                                            </div>
                                        </div>
                                        <div class="cleared"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="cleared"></div>
                            <div class="art-footer">
                                <div class="art-footer-t"></div>
                                <div class="art-footer-l"></div>
                                <div class="art-footer-b"></div>
                                <div class="art-footer-r"></div>
                                <div class="art-footer-body">
                                    <div class="art-footer-text">

                                        <p>Universidad Tecnològica Emiliano Zapata Av.Universidad Tecnològica No.1, Col. Palo Escrito, C.P.62760, Emiliano Zapata, Morelos.</p>
                                        <p>Tel.(01777) 368-11-65 Ext.270 jonathanaguilar@utez.edu</p>
                                    </div>
                                    <div class="cleared"></div>
                                </div>
                            </div>
                            <div class="cleared"></div>
                        </div>
                    </div>
                    <div class="cleared"></div>

                </div>
            </div>
        </div>

    </body>
</html>
